//
//  LGLGNetWorkingManager.h
//  微博oc版
//
//  Created by Apple_Lzzy27 on 16/10/13.
//  Copyright © 2016年 Apple_Lzzy27. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

@interface LGNetWorkingManager : AFHTTPSessionManager
typedef enum {
    GET,//get方法
    POST,//post方法
} NetMethod;
//创建一个单列
+ (nonnull instancetype)shard;
- (void)request:(NetMethod)method urlString:(nonnull NSString *)urlString parameters:(nullable NSDictionary *)parameters completion:(void (^ __nullable)(BOOL isSuccess ,id  _Nullable responseObject))completion;
-(void)tokenReques:(NetMethod)method urlString:(nonnull NSString *)urlString parameters:(nullable NSDictionary *)parameters completion:(void (^__nullable)(BOOL isSuccess,id _Nullable responseObject))completion;
@end
